package com.idp.web.test.entity;

import java.io.Serializable;
import java.util.Date;

/**
 * 
 * 11111实体类.
 * 
 * <pre>
 * 	历史记录：
 * 	2017-06-02 Amber
 * 	新建文件
 * </pre>
 * 
 * @author
 * 
 * 		<pre>
 * SD
 * 	Amber
 * PG
 *	Amber
 * UT
 *
 * MA
 *         </pre>
 * 
 * @version $Rev$
 *
 *          <p/>
 *          $Id$
 *
 */
public class Put implements Serializable {

	private static final long serialVersionUID = 1L;

	/** id */
	private Integer id;
	/** box */
	private Integer box;
	/** datetime */
	private Date datetime;
	/** realbox */
	private Integer realbox;
	/** putStatusId */
	private Integer putStatusId;
	/** productId */
	private Integer productId;
	/** warehouseId */
	private Integer warehouseId;

	private Product product;

	private PutStatus putStatus;

	private Warehouse warehouse;

	private String description;

	public Put() {
		putStatusId = 5; // 5 -> 未确认
	}

	/**
	 * 方法: 取得Integer
	 * 
	 * @return: Integer id
	 */
	public Integer getId() {
		return this.id;
	}

	/**
	 * 方法: 设置Integer
	 * 
	 * @param: Integer
	 *             id
	 */
	public void setId(Integer id) {
		this.id = id;
	}

	/**
	 * 方法: 取得Integer
	 * 
	 * @return: Integer box
	 */
	public Integer getBox() {
		return this.box;
	}

	/**
	 * 方法: 设置Integer
	 * 
	 * @param: Integer
	 *             box
	 */
	public void setBox(Integer box) {
		this.box = box;
	}

	/**
	 * 方法: 取得Integer
	 * 
	 * @return: Integer realbox
	 */
	public Integer getRealbox() {
		return this.realbox;
	}

	/**
	 * 方法: 设置Integer
	 * 
	 * @param: Integer
	 *             realbox
	 */
	public void setRealbox(Integer realbox) {
		this.realbox = realbox;
	}

	/**
	 * 方法: 取得Integer
	 * 
	 * @return: Integer putStatusId
	 */
	public Integer getPutStatusId() {
		return this.putStatusId;
	}

	/**
	 * 方法: 设置Integer
	 * 
	 * @param: Integer
	 *             putStatusId
	 */
	public void setPutStatusId(Integer putStatusId) {
		this.putStatusId = putStatusId;
	}

	/**
	 * 方法: 取得Integer
	 * 
	 * @return: Integer productId
	 */
	public Integer getProductId() {
		return this.productId;
	}

	/**
	 * 方法: 设置Integer
	 * 
	 * @param: Integer
	 *             productId
	 */
	public void setProductId(Integer productId) {
		this.productId = productId;
	}

	/**
	 * 方法: 取得Integer
	 * 
	 * @return: Integer warehouseId
	 */
	public Integer getWarehouseId() {
		return this.warehouseId;
	}

	/**
	 * 方法: 设置Integer
	 * 
	 * @param: Integer
	 *             warehouseId
	 */
	public void setWarehouseId(Integer warehouseId) {
		this.warehouseId = warehouseId;
	}

	public Product getProduct() {
		return product;
	}

	public void setProduct(Product product) {
		this.product = product;
	}

	public PutStatus getPutStatus() {
		return putStatus;
	}

	public void setPutStatus(PutStatus putStatus) {
		this.putStatus = putStatus;
	}

	public Warehouse getWarehouse() {
		return warehouse;
	}

	public void setWarehouse(Warehouse warehouse) {
		this.warehouse = warehouse;
	}

	public static long getSerialversionuid() {
		return serialVersionUID;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public Date getDatetime() {
		return datetime;
	}

	public void setDatetime(Date datetime) {
		this.datetime = datetime;
	}

	@Override
	public String toString() {
		return "Put [id=" + id + ", box=" + box + ", datetime=" + datetime + ", realbox=" + realbox + ", putStatusId="
				+ putStatusId + ", productId=" + productId + ", warehouseId=" + warehouseId + ", product=" + product
				+ ", putStatus=" + putStatus + ", warehouse=" + warehouse + ", description=" + description + "]";
	}

}
